package cc.mrbird.system.user.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cui
 * @since 2021-03-22
 */
@ApiModel(value = "User2",description = "用户类")
public class User2 implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("登录名")
    private String loginName;
    @ApiModelProperty("真实姓名")
    private String realName;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("超级权限")
    private Boolean superman;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getSuperman() {
        return superman;
    }

    public void setSuperman(Boolean superman) {
        this.superman = superman;
    }

    @Override
    public String toString() {
        return "User2{" +
        "id=" + id +
        ", loginName=" + loginName +
        ", realName=" + realName +
        ", password=" + password +
        ", superman=" + superman +
        "}";
    }
}
